package graffeo.osu;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.content.Intent;

public class AndroidRobotsActivity extends Activity {
	public Button btnDirections;
	public Button btnStart;
	//public Button btnScores;
	//DOWNLOAD INKSCAPE
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        btnDirections = (Button)findViewById(R.id.dir_Button);
        btnStart = (Button)findViewById(R.id.start_Button);
        //btnScores = (Button)findViewById(R.id.score_Button);

        //Set Click Listener
        btnDirections.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                //Start next activity
                Intent myIntent = new Intent(AndroidRobotsActivity.this, directionsActivity.class);
                AndroidRobotsActivity.this.startActivity(myIntent);
            }
        });
        btnStart.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                //Start next activity
                Intent myIntent = new Intent(AndroidRobotsActivity.this, gameActivity.class);
                AndroidRobotsActivity.this.startActivity(myIntent);
            }
        });
        
    }
}